﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ApplicationSecurityService
{
    class ProcessInfo
    {
        // 进程名称
        private String processName = "";
        public String ProcessName
        {
            get
            {
                return processName;
            }
            set
            {
                processName = value;
            }
        }
        // 进程MD5码
        private String fileMd5Code = "";
        public String FileMd5Code
        {
            get
            {
                return fileMd5Code;
            }
            set
            {
                fileMd5Code = value;
            }
        }
        // 是否需要记录使用时长
        private String isRecoder = "0";
        public String IsRecoder
        {
            get
            {
                return isRecoder;
            }
            set
            {
                isRecoder = value;
                if (isRecoder.Equals("1"))
                {
                    IsRecoderActiveTime = true;
                }
            }
        }
        public int ActiveTime = 0;
        public bool IsRecoderActiveTime = false;
    }
}
